package com.dc.webview.simple

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.dc.webview.R

class WebViewActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_web_view)

        val transaction = supportFragmentManager.beginTransaction()
        val webViewFragment = WebViewFragment.newInstance("")
        transaction.add(R.id.container, webViewFragment)
        transaction.commit()
    }
}